package event;

public class TalkEvent extends AlfaEvent {
	
	private String text;

	public TalkEvent(int from, int to, String text) {
		super(from, to, "talk");
		this.text = text;
	}
	
/*	public String talkText() {
		return text;
	}*/

	@Override
	public String param() {
		return text;
	}

	public String toString() {
		return "event "+ this.fromID() +" "+ this.type() +" "+ text;
	}
}
